package socketmvc.core.packets;

import org.tio.core.intf.Packet;
import socketmvc.core.packets.basic.IPacket;

import java.io.Serial;
import java.io.Serializable;

public final class IOPacket extends Packet implements Serializable {

    @Serial
    private static final long serialVersionUID = -588441548996L;


    private final IPacket packet;

    public IOPacket(IPacket packet) {
        this.packet = packet;
    }

    public IPacket getPacket() {
        return packet;
    }
}
